﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WoWArmoryParser
{
    class Guild
    {
        #region Constructors
        #endregion
        #region Properties
        public string Name { get; set; }
        public string Realm { get; set; }
        public string BattleGroup { get; set; }
        public RegionEnum Region { get; set; }
        public GuildMemberCollection Members { get; protected set; }
        public GuildMember GuildMaster { get; set; } //TODO : Possible exception?
        public Uri AmoryWebPath //TODO
        {
            get { return new Uri( string.Format( "{0}/guild-info.xml?r={1}&n={2}", "ArmoryParser.GetRegionPath(Region)", Realm, Name ) ); }
        }
        #endregion
    }
}
